package com.hao.tool.extra.cloud.module.wangshang.res;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * description
 *
 * @author RuiHaoZ on CMHK.jx
 * @date 2020-07-25 10:55
 */
@Getter
@Setter
public class VehicleScoreResult {

    private Integer status;
    private String msg;
    private Result result;

    @Getter
    @Setter
    public static class Result {

        @JsonProperty("lsprefix")
        private String lsPrefix;

        @JsonProperty("lsnum")
        private String lsNum;

        @JsonProperty("carorg")
        private String carOrg;

        @JsonProperty("usercarid")
        private String userCarId;

        private Integer count;

        @JsonProperty("totalprice")
        private Integer totalPrice;

        @JsonProperty("totalscore")
        private Integer totalScore;

        private List<Detail> list;

        @Getter
        @Setter
        public static class Detail {

            private String time;
            private String address;
            private String content;
            /**
             * 违章代码
             */
            @JsonProperty("legalnum")
            private String legalNum;
            private String price;

            private String score;
            private String province;
            private String city;
            /**
             * 违章ID
             */
            @JsonProperty("illegalid")
            private Integer illegalId;
            /**
             * 违章编号
             */
            private String number;

            private String id;
        }

    }
}
